home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000204_icon-group-sender _Mon Aug 1 09:17:30 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 15 Aug 1994 05:40:55 MST
  2. To: icon-group-l@cs.arizona.edu
  3. Date: 1 Aug 1994 09:17:30 -0400
  4. From: nmw@ios.com (Nick Williams)
  5. Message-Id: <31isla$rop@ios.com>
  6. Organization: Internet Online Services
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <775255847snz@wildcard.demon.co.uk>, <1994Jul28.024918.24655@cs.rit.edu>, <31akl6$lta@kaa.heidelbg.ibm.com>
  9. Subject: Re: What other experimental languages connect to a windowing system? (was: Why is TCL successful ?)
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <31akl6$lta@kaa.heidelbg.ibm.com>,
  14. Wolfgang Lux <lux@rio.heidelbg.ibm.com> wrote:
  15. >In article <1994Jul28.024918.24655@cs.rit.edu>, nmw1638@cs.rit.edu (Nicolas M Williams) writes:
  16. >|> Icon ... is
  17. >|> also a very functional language, about the only lisp-like features it
  18. >|> is missing are lambda expressions, quote and and a simple syntax
  19. >|> (although all expressions except for assingments can be expressed in a
  20. >|> form that is very similar to lisp's s-expressions).
  21. >Sorry, but I thought lambda was one of the very functional parts of
  22. >lisp. Should it be true that Icon has no way of representing anonymous
  23. >functions?
  24.  
  25. All expressions in Icon produce results (i.e. there is no such thing as
  26. a void typed functions as in C or CL). It also has apply/funcall like
  27. expressions. Pointer semantics abound and there is no way to pass
  28. pointers-to-pointers to functions (i.e. no quote function). All of which
  29. makes Icon a heck of a lot more of a strict functional language than is
  30. CL, though it does have variable assignment expressions, as well as
  31. destructive functions and though it does not have lambda expressions. It
  32. does have a feature that comes close to lambda expressions and which its
  33. authors call "co-expressions;" these co-expressions are co-routines that
  34. can be created more or less dynamically from regular Icon expressions.
  35. Perhaps you should take a look at the introduction to Icon that can be
  36. found in cs.arizona.edu:/icon/doc/tr-90.6.doc (also tr-90.6.ps.Z). Its
  37. quite short...
  38.  
  39. >Wolfgang
  40. >-- 
  41.  
  42. >Wolfgang Lux
  43. >WZH Heidelberg, IBM Germany             IBM IP-Net: lux@rio.heidelbg.ibm.com
  44. >+49-6221-59-4546            VNET:       LUX at HEIDELBG
  45. >+49-6221-59-3300 (fax)            EARN:       LUX at DHDIBMIP
  46.  
  47.  
  48. Nick
  49.